package com.woniuxy.userassembly.service.impl;

import com.woniuxy.userassembly.model.UserFinance;
import com.woniuxy.userassembly.dao.UserFinanceMapper;
import com.woniuxy.userassembly.service.IUserFinanceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Liyfi
 * @since 2021-05-22
 */
@Service
public class UserFinanceServiceImpl extends ServiceImpl<UserFinanceMapper, UserFinance> implements IUserFinanceService {
    @Autowired
    private UserFinanceMapper mapper;

    @Override
    public int addUserFinance(UserFinance finance) {
        int i = mapper.addUserFinance(finance);
        return i;
    }
}
